<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>查看矿产企业</title>
		<link rel="stylesheet" type="text/css" href="css/organization.css">
		<script src="js/jquery.js" type="text/javascript"></script>
		<script src="js/table.js" type="text/javascript"></script>
	</head>
	<body>
		<div class="body_content">
			<h1>矿产企业</h1>
			<form id="mainForm" action="organization/viewAllOrganizations.action" method="get">
				<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
				<input type="hidden" name="page.orderBy" id="orderBy" value="${page.orderBy}"/>
				<input type="hidden" name="page.order" id="order" value="${page.order}"/>
				<s:iterator value="page.result">
					<div class="org_div">
						<table>
							<tbody>
								<tr>
									<th>
										名称：
									</th>
									<td colspan="2">
										${name}
									</td>
								</tr>
								<tr>
									<th>
										地址：
									</th>
									<td colspan="2">
										${address}
									</td>
								</tr>
								<tr>
									<th>
										电话：
									</th>
									<td colspan="2">
										${telephone}
									</td>
								</tr>
								<tr>
									<th>
										简介：
									</th>
									<td colspan="2">
										${description}
									</td>
								</tr>
							</tbody>
						</table>			
					</div>		
				</s:iterator>
				<div id="divPageController">
					共${page.totalCount}条&nbsp;&nbsp;共${page.totalPages}页&nbsp;&nbsp;第${page.pageNo}页&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="javascript:jumpPage(1)">首页</a>
					<s:if test="page.hasPre"><a href="javascript:jumpPage(${page.prePage})">上一页</a></s:if>
					<s:if test="page.hasNext"><a href="javascript:jumpPage(${page.nextPage})">下一页</a></s:if>
					<a href="javascript:jumpPage(${page.totalPages})">末页</a>
				</div>
			</form>
			<div style="clear: both;"></div>
		</div>
	</body>
</html>